# -*- coding: utf-8 -*-
"""
-------------------------------------------------
Project Name: luffcity study project
File Name: time练习.py
Author: kij
Create Date: 2021/2/15
-------------------------------------------------
"""
import time
print(time.time())
print(time.strftime('%Y-%m-%d %H:%M:%S %P'))
print(time.strftime('%Y-%m-%d %X'))
print(time.strptime('2021-02-15 17:25:00','%Y-%m-%d %X'))
print(time.localtime())
s_time = time.localtime()
print(time.mktime(s_time))